import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;


public class Eerwerqerqwe {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		FileReader fr=new FileReader("c:/a.txt");
		BufferedReader br=new BufferedReader(fr);
		String line;
		String result="wrong";
		while((line=br.readLine())!=null){
			if("111111".equals(line)){
				result="systemprint correct";
				break;
			}	
		}
		System.out.println(result);
	}

}
